/**
 * Created by isoft-work 5 on 12/20/2014.
 */
TEMPLATE.Payment = {
   listCart: '\
      <table class="ui-grid ui-gridFull checkoutCart">\
         <thead class="fsn fwn ui-formHeader ui-borderBottom">\
            <tr class="box mhl">\
               <th class="checkout__cart--header article txtLeft">Sản Phẩm</th>\
               <th class="checkout__cart--header pbs amount">Số lượng</th>\
               <th class="checkout__cart--header pbs total txtRight">Đơn giá</th>\
               <th class="mp-b-grandTotal__box"></th>\
            </tr>\
         </thead>\
      </table>\
      \
      <table id="checkoutCart" class="ui-grid mhl">\
         <tbody class="cartItems">\
            {{#each carts}}\
               <tr class="ui-borderBottom mp-b-grandTotal__summary">\
                  <td class="article pbs txtLeft vMid">\
                     <div class="mrs  cart-img">\
                        <img width="100%" src="{{@root.contextPath}}{{image}}">\
                     </div>\
                     <div class="cart-txt fss">\
                        <div>\
                           <strong>{{tenSP}}</strong>\
                        </div>\
                        <div>\
                           <div class="txtDarkGray ui-formDetailLabel">Size: {{chiTietSanPham.kichThuoc.tenSize}}</div>\
                        </div>\
                        <div>\
                           <div class="txtDarkGray ui-formDetailLabel">Màu sắc: {{chiTietSanPham.mauSac.tenMau}}</div>\
                        </div>\
                     </div>\
                  </td>\
                  <td class="amount pas txtCenter ui-formRow sel-cart-quantity-MO401AA34JGFVN-429725">{{count}}</td>\
                  <td class="total pas txtRight ui-formRow sel-cart-item-total-MO401AA34JGFVN-429725">{{giaBan}}&nbsp;VND</td>\
                  <td class="mp-b-grandTotal__box"></td>\
               </tr>\
            {{/each}}\
         </tbody>\
      </table>\
      \
      <table class="ui-grid" width="100%">\
         <tfoot class="cartSummary txtLeft">\
            <tr class="free-shipping">\
               <td class="txtRight txtHighlight checkout__summaryTxt">Vận chuyển</td>\
               <td class="value txtLeft checkout__summaryPrice txtHighlight sel-shipping-free">Miễn phí</td>\
            </tr>\
            <tr class="fsm">\
               <td class="checkout__summaryTxt">Tổng số lượng</td>\
               <td class="value checkout__summaryPrice sel-subtotal">{{total}}</td>\
            </tr>\
            <tr class="grandTotal fsml">\
               <td class="checkout__summaryTxt" style="margin-left:-10 !important;">Thành tiền</td>\
               <td class="value checkout__summaryPrice sel-total">{{totalMoney}}&nbsp;VND</td>\
            <td>&nbsp;</td>\
            </tr>\
         </tfoot>\
      </table>'
}
